package com.lxm.ymcc.service;

import com.lxm.ymcc.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import com.lxm.ymcc.dto.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whale
 * @since 2022-10-23
 */
public interface ICourseService extends IService<Course> {

    void insert(CousreParmDto dto);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    String listForUser(InvitationCodeDto invitationCodeDto);

    CourseDetailVo courseDetail(Long id);

    CourseStateVo courseStateById(Long id);

    CourseOrderDataVo courseInfo(String id);
}
